home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / utils / lib-complete.elc.z / lib-complete.elc
Emacs Compiled Lisp  |  1998-05-21  |  7.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
55% TrID Emacs/XEmacs byte-compiled Lisp (generic) default
44% TrID Summation Document Image Information Load File default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 54 68 75 20 4a | 61 6e 20 32 32 20 31 34 |on Thu J|an 22 14|
|00000040| 3a 34 35 3a 33 38 20 31 | 39 39 38 0a 3b 3b 3b 20 |:45:38 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 78 65 | 6d 61 63 73 2d 32 30 2e |emacs/xe|macs-20.|
|00000090| 33 2f 6c 69 73 70 2f 75 | 74 69 6c 73 2f 6c 69 62 |3/lisp/u|tils/lib|
|000000a0| 2d 63 6f 6d 70 6c 65 74 | 65 2e 65 6c 0a 3b 3b 3b |-complet|e.el.;;;|
|000000b0| 20 65 6d 61 63 73 20 76 | 65 72 73 69 6f 6e 20 32 | emacs v|ersion 2|
|000000c0| 30 2e 33 20 22 56 61 74 | 69 63 61 6e 20 43 69 74 |0.3 "Vat|ican Cit|
|000000d0| 79 22 20 58 45 6d 61 63 | 73 20 20 4c 75 63 69 64 |y" XEmac|s Lucid|
|000000e0| 2e 0a 3b 3b 3b 20 62 79 | 74 65 63 6f 6d 70 20 76 |..;;; by|tecomp v|
|000000f0| 65 72 73 69 6f 6e 20 32 | 2e 32 35 20 58 45 6d 61 |ersion 2|.25 XEma|
|00000100| 63 73 3b 20 32 32 2d 4d | 61 72 2d 39 36 2e 0a 3b |cs; 22-M|ar-96..;|
|00000110| 3b 3b 20 6f 70 74 69 6d | 69 7a 61 74 69 6f 6e 20 |;; optim|ization |
|00000120| 69 73 20 6f 6e 2e 0a 3b | 3b 3b 20 74 68 69 73 20 |is on..;|;; this |
|00000130| 66 69 6c 65 20 75 73 65 | 73 20 6f 70 63 6f 64 65 |file use|s opcode|
|00000140| 73 20 77 68 69 63 68 20 | 64 6f 20 6e 6f 74 20 65 |s which |do not e|
|00000150| 78 69 73 74 20 69 6e 20 | 45 6d 61 63 73 20 31 39 |xist in |Emacs 19|
|00000160| 2e 0a 0a 28 69 66 20 28 | 61 6e 64 20 28 62 6f 75 |...(if (|and (bou|
|00000170| 6e 64 70 20 27 65 6d 61 | 63 73 2d 76 65 72 73 69 |ndp 'ema|cs-versi|
|00000180| 6f 6e 29 0a 09 20 28 6f | 72 20 28 61 6e 64 20 28 |on).. (o|r (and (|
|00000190| 62 6f 75 6e 64 70 20 27 | 65 70 6f 63 68 3a 3a 76 |boundp '|epoch::v|
|000001a0| 65 72 73 69 6f 6e 29 20 | 65 70 6f 63 68 3a 3a 76 |ersion) |epoch::v|
|000001b0| 65 72 73 69 6f 6e 29 0a | 09 20 20 20 20 20 28 73 |ersion).|. (s|
|000001c0| 74 72 69 6e 67 2d 6c 65 | 73 73 70 20 65 6d 61 63 |tring-le|ssp emac|
|000001d0| 73 2d 76 65 72 73 69 6f | 6e 20 22 32 30 22 29 29 |s-versio|n "20"))|
|000001e0| 29 0a 20 20 20 20 28 65 | 72 72 6f 72 20 22 60 6c |). (e|rror "`l|
|000001f0| 69 62 2d 63 6f 6d 70 6c | 65 74 65 2e 65 6c 27 20 |ib-compl|ete.el' |
|00000200| 77 61 73 20 63 6f 6d 70 | 69 6c 65 64 20 66 6f 72 |was comp|iled for|
|00000210| 20 45 6d 61 63 73 20 32 | 30 22 29 29 0a 0a 28 6f | Emacs 2|0"))..(o|
|00000220| 72 20 28 62 6f 75 6e 64 | 70 20 27 63 75 72 72 65 |r (bound|p 'curre|
|00000230| 6e 74 2d 6c 6f 61 64 2d | 6c 69 73 74 29 20 28 73 |nt-load-|list) (s|
|00000240| 65 74 71 20 63 75 72 72 | 65 6e 74 2d 6c 6f 61 64 |etq curr|ent-load|
|00000250| 2d 6c 69 73 74 20 6e 69 | 6c 29 29 0a 0a 0a 23 40 |-list ni|l))...#@|
|00000260| 33 30 37 20 52 65 74 75 | 72 6e 20 61 6c 6c 20 63 |307 Retu|rn all c|
|00000270| 6f 6d 70 6c 65 74 69 6f | 6e 73 20 66 6f 72 20 46 |ompletio|ns for F|
|00000280| 49 4c 45 20 69 6e 20 61 | 6e 79 20 64 69 72 65 63 |ILE in a|ny direc|
|00000290| 74 6f 72 79 20 6f 6e 20 | 53 45 41 52 43 48 2d 50 |tory on |SEARCH-P|
|000002a0| 41 54 48 2e 0a 49 66 20 | 6f 70 74 69 6f 6e 61 6c |ATH..If |optional|
|000002b0| 20 74 68 69 72 64 20 61 | 72 67 75 6d 65 6e 74 20 | third a|rgument |
|000002c0| 46 55 4c 4c 20 69 73 20 | 6e 6f 6e 2d 6e 69 6c 2c |FULL is |non-nil,|
|000002d0| 20 72 65 74 75 72 6e 65 | 64 20 70 61 74 68 6e 61 | returne|d pathna|
|000002e0| 6d 65 73 20 73 68 6f 75 | 6c 64 20 62 65 20 0a 20 |mes shou|ld be . |
|000002f0| 20 61 62 73 6f 6c 75 74 | 65 20 72 61 74 68 65 72 | absolut|e rather|
|00000300| 20 74 68 61 6e 20 72 65 | 6c 61 74 69 76 65 20 74 | than re|lative t|
|00000310| 6f 20 73 6f 6d 65 20 64 | 69 72 65 63 74 6f 72 79 |o some d|irectory|
|00000320| 20 6f 6e 20 74 68 65 20 | 53 45 41 52 43 48 2d 50 | on the |SEARCH-P|
|00000330| 41 54 48 2e 0a 49 66 20 | 6f 70 74 69 6f 6e 61 6c |ATH..If |optional|
|00000340| 20 66 6f 75 72 74 68 20 | 61 72 67 75 6d 65 6e 74 | fourth |argument|
|00000350| 20 46 41 53 54 20 69 73 | 20 6e 6f 6e 2d 6e 69 6c | FAST is| non-nil|
|00000360| 2c 20 64 6f 6e 27 74 20 | 73 6f 72 74 20 74 68 65 |, don't |sort the|
|00000370| 20 63 6f 6d 70 6c 65 74 | 69 6f 6e 73 2c 0a 20 20 | complet|ions,. |
|00000380| 6f 72 20 72 65 6d 6f 76 | 65 20 64 75 70 6c 69 63 |or remov|e duplic|
|00000390| 61 74 65 73 2e 1f 0a 28 | 64 65 66 61 6c 69 61 73 |ates...(|defalias|
|000003a0| 20 27 6c 69 62 72 61 72 | 79 2d 61 6c 6c 2d 63 6f | 'librar|y-all-co|
|000003b0| 6d 70 6c 65 74 69 6f 6e | 73 20 23 5b 28 46 49 4c |mpletion|s #[(FIL|
|000003c0| 45 20 53 45 41 52 43 48 | 2d 50 41 54 48 20 26 6f |E SEARCH|-PATH &o|
|000003d0| 70 74 69 6f 6e 61 6c 20 | 46 55 4c 4c 20 46 41 53 |ptional |FULL FAS|
|000003e0| 54 29 20 22 08 ae 81 c1 | 10 c2 08 21 ab 8d c3 08 |T) "....|...!....|
|000003f0| 21 10 c4 c5 08 21 c6 08 | 21 5c 22 87 c6 08 21 c5 |!....!..|!\"...!.|
|00000400| 08 21 c7 1e 08 1e 09 1e | 5c 6e 0e 0b ab c6 cc c3 |.!......|\n......|
|00000410| 0e 0b 40 21 21 0e 5c 6e | 50 1e 0d 0e 0e ab 84 0e |..@!!.\n|P.......|
|00000420| 0d aa 82 0e 5c 6e 1e 0f | d0 0e 0d 21 ab 9f c4 0e |....\n..|...!....|
|00000430| 09 0e 0d 5c 22 89 1e 11 | ab 93 0e 0f 0e 11 40 50 |...\"...|......@P|
|00000440| 0e 08 42 16 08 0e 11 41 | 89 16 11 ac 6d 29 2a 0e |..B....A|....m)*.|
|00000450| 0b 41 89 16 0b ac 3a 0e | 12 ab 84 0e 08 aa aa d3 |.A....:.|........|
|00000460| 0e 08 d4 5c 22 9f c7 1e | 15 89 1e 16 ab 99 0e 16 |...\"...|........|
|00000470| 40 0e 15 40 6b ac 88 0e | 16 40 0e 15 42 16 15 0e |@..@k...|.@..B...|
|00000480| 16 41 89 16 16 ac 67 0e | 15 2a 2b 87 22 20 5b 46 |.A....g.|.*+." [F|
|00000490| 49 4c 45 20 22 22 20 66 | 69 6c 65 2d 6e 61 6d 65 |ILE "" f|ile-name|
|000004a0| 2d 61 62 73 6f 6c 75 74 | 65 2d 70 20 65 78 70 61 |-absolut|e-p expa|
|000004b0| 6e 64 2d 66 69 6c 65 2d | 6e 61 6d 65 20 66 69 6c |nd-file-|name fil|
|000004c0| 65 2d 6e 61 6d 65 2d 61 | 6c 6c 2d 63 6f 6d 70 6c |e-name-a|ll-compl|
|000004d0| 65 74 69 6f 6e 73 20 66 | 69 6c 65 2d 6e 61 6d 65 |etions f|ile-name|
|000004e0| 2d 6e 6f 6e 64 69 72 65 | 63 74 6f 72 79 20 66 69 |-nondire|ctory fi|
|000004f0| 6c 65 2d 6e 61 6d 65 2d | 64 69 72 65 63 74 6f 72 |le-name-|director|
|00000500| 79 20 6e 69 6c 20 61 6c | 6c 2d 63 6f 6d 70 6c 65 |y nil al|l-comple|
|00000510| 74 69 6f 6e 73 20 66 69 | 6c 65 20 73 75 62 64 69 |tions fi|le subdi|
|00000520| 72 20 53 45 41 52 43 48 | 2d 50 41 54 48 20 66 69 |r SEARCH|-PATH fi|
|00000530| 6c 65 2d 6e 61 6d 65 2d | 61 73 2d 64 69 72 65 63 |le-name-|as-direc|
|00000540| 74 6f 72 79 20 64 69 72 | 20 46 55 4c 4c 20 64 69 |tory dir| FULL di|
|00000550| 72 2d 70 72 65 66 69 78 | 20 66 69 6c 65 2d 64 69 |r-prefix| file-di|
|00000560| 72 65 63 74 6f 72 79 2d | 70 20 73 75 62 64 69 72 |rectory-|p subdir|
|00000570| 2d 63 6f 6d 70 6c 65 74 | 69 6f 6e 73 20 46 41 53 |-complet|ions FAS|
|00000580| 54 20 73 6f 72 74 20 73 | 74 72 69 6e 67 3c 20 63 |T sort s|tring< c|
|00000590| 6f 6d 70 72 65 73 73 65 | 64 20 73 6f 72 74 65 64 |ompresse|d sorted|
|000005a0| 5d 20 35 20 28 23 24 20 | 2e 20 36 31 32 29 5d 29 |] 5 (#$ |. 612)])|
|000005b0| 0a 23 40 31 30 39 20 28 | 70 72 6f 67 6e 2d 77 69 |.#@109 (|progn-wi|
|000005c0| 74 68 2d 6d 65 73 73 61 | 67 65 20 4d 45 53 53 41 |th-messa|ge MESSA|
|000005d0| 47 45 20 46 4f 52 4d 53 | 20 2e 2e 2e 29 0a 44 69 |GE FORMS| ...).Di|
|000005e0| 73 70 6c 61 79 20 4d 45 | 53 53 41 47 45 20 61 6e |splay ME|SSAGE an|
|000005f0| 64 20 65 76 61 6c 75 61 | 74 65 20 46 4f 52 4d 53 |d evalua|te FORMS|
|00000600| 2c 20 72 65 74 75 72 6e | 69 6e 67 20 76 61 6c 75 |, return|ing valu|
|00000610| 65 20 6f 66 20 74 68 65 | 20 6c 61 73 74 20 6f 6e |e of the| last on|
|00000620| 65 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 70 |e...(def|alias 'p|
|00000630| 72 6f 67 6e 2d 77 69 74 | 68 2d 6d 65 73 73 61 67 |rogn-wit|h-messag|
|00000640| 65 20 27 28 6d 61 63 72 | 6f 20 2e 20 23 5b 28 4d |e '(macr|o . #[(M|
|00000650| 45 53 53 41 47 45 20 26 | 72 65 73 74 20 46 4f 52 |ESSAGE &|rest FOR|
|00000660| 4d 53 29 20 22 c0 c1 c2 | c3 c4 c5 c6 c7 c8 c9 0e |MS) "...|........|
|00000670| 5c 6e 45 cb cc 0e 0d 42 | 42 42 42 ce 42 42 45 45 |\nE....B|BBB.BBEE|
|00000680| cf d0 d1 0e 5c 6e 45 c7 | 0e 0d 42 d2 42 42 42 46 |....\nE.|..B.BBBF|
|00000690| 87 22 20 5b 69 66 20 28 | 65 71 20 28 73 65 6c 65 |." [if (|eq (sele|
|000006a0| 63 74 65 64 2d 77 69 6e | 64 6f 77 29 20 28 6d 69 |cted-win|dow) (mi|
|000006b0| 6e 69 62 75 66 66 65 72 | 2d 77 69 6e 64 6f 77 29 |nibuffer|-window)|
|000006c0| 29 20 73 61 76 65 2d 65 | 78 63 75 72 73 69 6f 6e |) save-e|xcursion|
|000006d0| 20 28 67 6f 74 6f 2d 63 | 68 61 72 20 28 70 6f 69 | (goto-c|har (poi|
|000006e0| 6e 74 2d 6d 61 78 29 29 | 20 6c 65 74 20 28 28 6f |nt-max))| let ((o|
|000006f0| 72 69 67 2d 70 6d 61 78 | 20 28 70 6f 69 6e 74 2d |rig-pmax| (point-|
|00000700| 6d 61 78 29 29 29 20 75 | 6e 77 69 6e 64 2d 70 72 |max))) u|nwind-pr|
|00000710| 6f 74 65 63 74 20 70 72 | 6f 67 6e 20 69 6e 73 65 |otect pr|ogn inse|
|00000720| 72 74 20 22 20 22 20 4d | 45 53 53 41 47 45 20 28 |rt " " M|ESSAGE (|
|00000730| 67 6f 74 6f 2d 63 68 61 | 72 20 6f 72 69 67 2d 70 |goto-cha|r orig-p|
|00000740| 6d 61 78 29 20 28 73 69 | 74 2d 66 6f 72 20 30 29 |max) (si|t-for 0)|
|00000750| 20 46 4f 52 4d 53 20 28 | 28 64 65 6c 65 74 65 2d | FORMS (|(delete-|
|00000760| 72 65 67 69 6f 6e 20 6f | 72 69 67 2d 70 6d 61 78 |region o|rig-pmax|
|00000770| 20 28 70 6f 69 6e 74 2d | 6d 61 78 29 29 29 20 70 | (point-|max))) p|
|00000780| 72 6f 67 32 20 6d 65 73 | 73 61 67 65 20 22 25 73 |rog2 mes|sage "%s|
|00000790| 22 20 28 28 6d 65 73 73 | 61 67 65 20 22 22 29 29 |" ((mess|age ""))|
|000007a0| 5d 20 31 32 20 28 23 24 | 20 2e 20 31 34 36 33 29 |] 12 (#$| . 1463)|
|000007b0| 5d 29 29 0a 28 70 75 74 | 20 27 70 72 6f 67 6e 2d |])).(put| 'progn-|
|000007c0| 77 69 74 68 2d 6d 65 73 | 73 61 67 65 20 27 6c 69 |with-mes|sage 'li|
|000007d0| 73 70 2d 69 6e 64 65 6e | 74 2d 68 6f 6f 6b 20 31 |sp-inden|t-hook 1|
|000007e0| 29 0a 23 40 32 39 34 20 | 55 73 65 64 20 77 69 74 |).#@294 |Used wit|
|000007f0| 68 69 6e 20 72 65 61 64 | 2d 6c 69 62 72 61 72 79 |hin read|-library|
|00000800| 20 61 6e 64 20 72 65 61 | 64 2d 6c 69 62 72 61 72 | and rea|d-librar|
|00000810| 79 2d 69 6e 74 65 72 6e | 61 6c 20 74 6f 20 70 72 |y-intern|al to pr|
|00000820| 65 76 65 6e 74 20 0a 63 | 6f 73 74 6c 79 20 72 65 |event .c|ostly re|
|00000830| 70 65 61 74 65 64 20 63 | 61 6c 6c 73 20 74 6f 20 |peated c|alls to |
|00000840| 6c 69 62 72 61 72 79 2d | 61 6c 6c 2d 63 6f 6d 70 |library-|all-comp|
|00000850| 6c 65 74 69 6f 6e 73 2e | 0a 46 6f 72 6d 61 74 20 |letions.|.Format |
|00000860| 69 73 20 61 20 6c 69 73 | 74 20 6f 66 20 6c 69 73 |is a lis|t of lis|
|00000870| 74 73 20 6f 66 20 74 68 | 65 20 66 6f 72 6d 0a 0a |ts of th|e form..|
|00000880| 20 20 20 20 28 5b 3c 70 | 61 74 68 3e 20 3c 73 75 | ([<p|ath> <su|
|00000890| 62 64 69 72 3e 5d 20 3c | 63 61 63 68 65 2d 72 65 |bdir>] <|cache-re|
|000008a0| 63 6f 72 64 3e 20 3c 63 | 61 63 68 65 2d 72 65 63 |cord> <c|ache-rec|
|000008b0| 6f 72 64 3e 20 2e 2e 2e | 29 0a 0a 77 68 65 72 65 |ord> ...|)..where|
|000008c0| 20 65 61 63 68 20 3c 63 | 61 63 68 65 2d 72 65 63 | each <c|ache-rec|
|000008d0| 6f 72 64 3e 20 68 61 73 | 20 74 68 65 20 66 6f 72 |ord> has| the for|
|000008e0| 6d 0a 0a 20 20 20 28 3c | 72 6f 6f 74 3e 20 3c 6d |m.. (<|root> <m|
|000008f0| 6f 64 74 69 6d 65 73 3e | 20 3c 63 6f 6d 70 6c 65 |odtimes>| <comple|
|00000900| 74 69 6f 6e 2d 74 61 62 | 6c 65 3e 29 1f 0a 28 64 |tion-tab|le>)..(d|
|00000910| 65 66 63 6f 6e 73 74 20 | 6c 69 62 2d 63 6f 6d 70 |efconst |lib-comp|
|00000920| 6c 65 74 65 3a 63 61 63 | 68 65 20 6e 69 6c 20 28 |lete:cac|he nil (|
|00000930| 23 24 20 2e 20 32 30 32 | 34 29 29 0a 23 40 34 39 |#$ . 202|4)).#@49|
|00000940| 20 52 65 74 75 72 6e 20 | 6e 6f 6e 2d 6e 69 6c 20 | Return |non-nil |
|00000950| 69 66 20 52 4f 4f 54 31 | 20 69 73 20 61 20 73 75 |if ROOT1| is a su|
|00000960| 70 65 72 73 65 74 20 6f | 66 20 52 4f 4f 54 32 2e |perset o|f ROOT2.|
|00000970| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 6c 69 62 |..(defal|ias 'lib|
|00000980| 2d 63 6f 6d 70 6c 65 74 | 65 3a 62 65 74 74 65 72 |-complet|e:better|
|00000990| 2d 72 6f 6f 74 20 23 5b | 28 52 4f 4f 54 31 20 52 |-root #[|(ROOT1 R|
|000009a0| 4f 4f 54 32 29 20 22 c0 | 09 21 c0 5c 6e 21 6b ad |OOT2) ".|.!.\n!k.|
|000009b0| 8a c3 c4 c5 c6 09 21 21 | 50 5c 6e 5c 22 87 22 20 |......!!|P\n\"." |
|000009c0| 5b 66 69 6c 65 2d 6e 61 | 6d 65 2d 64 69 72 65 63 |[file-na|me-direc|
|000009d0| 74 6f 72 79 20 52 4f 4f | 54 31 20 52 4f 4f 54 32 |tory ROO|T1 ROOT2|
|000009e0| 20 73 74 72 69 6e 67 2d | 6d 61 74 63 68 20 22 5e | string-|match "^|
|000009f0| 22 20 72 65 67 65 78 70 | 2d 71 75 6f 74 65 20 66 |" regexp|-quote f|
|00000a00| 69 6c 65 2d 6e 61 6d 65 | 2d 6e 6f 6e 64 69 72 65 |ile-name|-nondire|
|00000a10| 63 74 6f 72 79 5d 20 35 | 20 28 23 24 20 2e 20 32 |ctory] 5| (#$ . 2|
|00000a20| 33 36 39 29 5d 29 0a 28 | 64 65 66 61 6c 69 61 73 |369)]).(|defalias|
|00000a30| 20 27 6c 69 62 2d 63 6f | 6d 70 6c 65 74 65 3a 67 | 'lib-co|mplete:g|
|00000a40| 65 74 2d 63 6f 6d 70 6c | 65 74 69 6f 6e 2d 74 61 |et-compl|etion-ta|
|00000a50| 62 6c 65 20 23 5b 28 46 | 49 4c 45 20 50 41 54 48 |ble #[(F|ILE PATH|
|00000a60| 20 46 49 4c 54 45 52 29 | 20 22 c0 09 21 1a c3 09 | FILTER)| "..!...|
|00000a70| 21 1c c5 c6 0e 07 5c 22 | 1e 07 c8 0e 07 5c 6e 0e |!.....\"|.....\n.|
|00000a80| 09 23 1e 5c 6e 5c 6e ab | 87 c5 cb 0e 07 5c 22 aa |.#.\n\n.|.....\".|
|00000a90| 82 0e 07 1e 0c c5 cd 0e | 0c 5c 22 1e 0e cf 0e 5c |........|.\"....\|
|00000aa0| 6e 0e 10 5c 22 89 1e 11 | 41 1e 12 d3 d4 8d 2e 08 |n..\"...|A.......|
|00000ab0| 87 22 20 5b 66 69 6c 65 | 2d 6e 61 6d 65 2d 64 69 |." [file|-name-di|
|00000ac0| 72 65 63 74 6f 72 79 20 | 46 49 4c 45 20 73 75 62 |rectory |FILE sub|
|00000ad0| 64 69 72 20 66 69 6c 65 | 2d 6e 61 6d 65 2d 6e 6f |dir file|-name-no|
|00000ae0| 6e 64 69 72 65 63 74 6f | 72 79 20 72 6f 6f 74 20 |ndirecto|ry root |
|00000af0| 6d 61 70 63 61 72 20 23 | 5b 28 64 69 72 29 20 22 |mapcar #|[(dir) "|
|00000b00| c0 c1 5c 6e ae 81 c3 21 | 21 87 22 20 5b 66 69 6c |..\n...!|!." [fil|
|00000b10| 65 2d 6e 61 6d 65 2d 61 | 73 2d 64 69 72 65 63 74 |e-name-a|s-direct|
|00000b20| 6f 72 79 20 65 78 70 61 | 6e 64 2d 66 69 6c 65 2d |ory expa|nd-file-|
|00000b30| 6e 61 6d 65 20 64 69 72 | 20 22 22 5d 20 33 5d 20 |name dir| ""] 3] |
|00000b40| 50 41 54 48 20 76 65 63 | 74 6f 72 20 46 49 4c 54 |PATH vec|tor FILT|
|00000b50| 45 52 20 6b 65 79 20 23 | 5b 28 64 69 72 29 20 22 |ER key #|[(dir) "|
|00000b60| 08 09 50 87 22 20 5b 64 | 69 72 20 73 75 62 64 69 |..P." [d|ir subdi|
|00000b70| 72 5d 20 32 5d 20 72 65 | 61 6c 2d 64 69 72 73 20 |r] 2] re|al-dirs |
|00000b80| 23 5b 28 66 6e 29 20 22 | 08 ad 85 c1 c2 08 21 38 |#[(fn) "|......!8|
|00000b90| 87 22 20 5b 66 6e 20 35 | 20 66 69 6c 65 2d 61 74 |." [fn 5| file-at|
|00000ba0| 74 72 69 62 75 74 65 73 | 5d 20 33 5d 20 70 61 74 |tributes|] 3] pat|
|00000bb0| 68 2d 6d 6f 64 74 69 6d | 65 73 20 61 73 73 6f 63 |h-modtim|es assoc|
|00000bc0| 20 6c 69 62 2d 63 6f 6d | 70 6c 65 74 65 3a 63 61 | lib-com|plete:ca|
|00000bd0| 63 68 65 20 63 61 63 68 | 65 2d 65 6e 74 72 79 20 |che cach|e-entry |
|00000be0| 63 61 63 68 65 2d 72 65 | 63 6f 72 64 73 20 74 61 |cache-re|cords ta|
|00000bf0| 62 6c 65 20 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |ble (byt|e-code "|
|00000c00| 08 ab 9e c1 08 40 40 5c | 6e 5c 22 ab 90 08 40 41 |.....@@\|n\"...@A|
|00000c10| 40 0b 6b ab 88 c4 c5 c6 | 08 40 38 5c 22 88 08 41 |@.k.....|.@8\"..A|
|00000c20| 89 10 ac 62 c7 20 c8 20 | 61 ab a1 8a 64 62 88 64 |...b. . |a...db.d|
|00000c30| 1e 09 ca 8e cb cc b1 02 | 88 0e 09 62 88 cd ce 21 |........|...b...!|
|00000c40| 88 cf 0e 10 0e 11 d2 d3 | 24 2b aa 91 d4 d5 cc 5c |........|$+.....\|
|00000c50| 22 88 cf 0e 10 0e 11 d2 | d3 24 d4 d6 21 88 d7 d8 |".......|.$..!...|
|00000c60| ce 5c 22 1e 19 89 1e 1a | ab ab 0e 1b ab 87 dc 0e |.\".....|........|
|00000c70| 1a 40 21 ab 85 0e 1a 40 | aa 86 0e 1b 0e 1a 40 21 |.@!....@|......@!|
|00000c80| 89 1e 1d ab 87 de 0e 1d | 0e 19 5c 22 88 29 0e 1a |........|..\".)..|
|00000c90| 41 89 16 1a ac 55 df 0e | 20 5c 6e 0b 0e 19 24 88 |A....U..| \n...$.|
|00000ca0| 0e 19 2a 87 22 20 5b 63 | 61 63 68 65 2d 72 65 63 |..*." [c|ache-rec|
|00000cb0| 6f 72 64 73 20 6c 69 62 | 2d 63 6f 6d 70 6c 65 74 |ords lib|-complet|
|00000cc0| 65 3a 62 65 74 74 65 72 | 2d 72 6f 6f 74 20 72 6f |e:better|-root ro|
|00000cd0| 6f 74 20 70 61 74 68 2d | 6d 6f 64 74 69 6d 65 73 |ot path-|modtimes|
|00000ce0| 20 74 68 72 6f 77 20 74 | 61 62 6c 65 20 32 20 73 | throw t|able 2 s|
|00000cf0| 65 6c 65 63 74 65 64 2d | 77 69 6e 64 6f 77 20 6d |elected-|window m|
|00000d00| 69 6e 69 62 75 66 66 65 | 72 2d 77 69 6e 64 6f 77 |inibuffe|r-window|
|00000d10| 20 6f 72 69 67 2d 70 6d | 61 78 20 28 28 62 79 74 | orig-pm|ax ((byt|
|00000d20| 65 2d 63 6f 64 65 20 22 | 08 64 7c 87 22 20 5b 6f |e-code "|.d|." [o|
|00000d30| 72 69 67 2d 70 6d 61 78 | 5d 20 32 29 29 20 22 20 |rig-pmax|] 2)) " |
|00000d40| 22 20 22 28 62 75 69 6c | 64 69 6e 67 20 63 6f 6d |" "(buil|ding com|
|00000d50| 70 6c 65 74 69 6f 6e 20 | 74 61 62 6c 65 2e 2e 2e |pletion |table...|
|00000d60| 29 22 20 73 69 74 2d 66 | 6f 72 20 30 20 6c 69 62 |)" sit-f|or 0 lib|
|00000d70| 72 61 72 79 2d 61 6c 6c | 2d 63 6f 6d 70 6c 65 74 |rary-all|-complet|
|00000d80| 69 6f 6e 73 20 46 49 4c | 45 20 50 41 54 48 20 6e |ions FIL|E PATH n|
|00000d90| 69 6c 20 66 61 73 74 20 | 6d 65 73 73 61 67 65 20 |il fast |message |
|00000da0| 22 25 73 22 20 22 22 20 | 6d 61 6b 65 2d 76 65 63 |"%s" "" |make-vec|
|00000db0| 74 6f 72 20 31 32 37 20 | 63 6f 6d 70 6c 65 74 69 |tor 127 |completi|
|00000dc0| 6f 6e 2d 74 61 62 6c 65 | 20 63 6f 6d 70 6c 65 74 |on-table| complet|
|00000dd0| 69 6f 6e 2d 6c 69 73 74 | 20 46 49 4c 54 45 52 20 |ion-list| FILTER |
|00000de0| 66 69 6c 65 2d 64 69 72 | 65 63 74 6f 72 79 2d 70 |file-dir|ectory-p|
|00000df0| 20 63 6f 6d 70 6c 65 74 | 69 6f 6e 20 69 6e 74 65 | complet|ion inte|
|00000e00| 72 6e 20 6c 69 62 2d 63 | 6f 6d 70 6c 65 74 65 3a |rn lib-c|omplete:|
|00000e10| 63 61 63 68 65 2d 63 6f | 6d 70 6c 65 74 69 6f 6e |cache-co|mpletion|
|00000e20| 73 20 6b 65 79 5d 20 36 | 29 5d 20 35 5d 29 0a 23 |s key] 6|)] 5]).#|
|00000e30| 40 35 31 20 2a 4d 61 78 | 69 6d 75 6d 20 6e 75 6d |@51 *Max|imum num|
|00000e40| 62 65 72 20 6f 66 20 73 | 65 61 72 63 68 20 70 61 |ber of s|earch pa|
|00000e50| 74 68 73 20 77 68 69 63 | 68 20 61 72 65 20 63 61 |ths whic|h are ca|
|00000e60| 63 68 65 64 2e 1f 0a 28 | 64 65 66 76 61 72 20 6c |ched...(|defvar l|
|00000e70| 69 62 2d 63 6f 6d 70 6c | 65 74 65 3a 6d 61 78 2d |ib-compl|ete:max-|
|00000e80| 63 61 63 68 65 2d 73 69 | 7a 65 20 34 30 20 28 23 |cache-si|ze 40 (#|
|00000e90| 24 20 2e 20 2d 33 36 33 | 36 29 29 0a 28 64 65 66 |$ . -363|6)).(def|
|00000ea0| 61 6c 69 61 73 20 27 6c | 69 62 2d 63 6f 6d 70 6c |alias 'l|ib-compl|
|00000eb0| 65 74 65 3a 63 61 63 68 | 65 2d 63 6f 6d 70 6c 65 |ete:cach|e-comple|
|00000ec0| 74 69 6f 6e 73 20 23 5b | 28 6b 65 79 20 72 6f 6f |tions #[|(key roo|
|00000ed0| 74 20 6d 6f 64 74 69 6d | 65 73 20 74 61 62 6c 65 |t modtim|es table|
|00000ee0| 29 20 22 c0 09 5c 6e 5c | 22 89 1b 41 1c 0d 0e 06 |) "..\n\|"..A....|
|00000ef0| 0e 07 45 43 1e 08 0b ab | a4 c9 0b 5c 6e 5c 22 12 |..EC....|...\n\".|
|00000f00| 0c ab 9c 0d 0c 40 40 6b | ac 8f ca 0d 0c 40 40 5c |.....@@k|.....@@\|
|00000f10| 22 ac 87 0c 40 0e 08 42 | 16 08 0c 41 89 14 ac 64 |"...@..B|...A...d|
|00000f20| 09 0e 08 9f 42 5c 6e 42 | 12 0e 0b 5c 6e 9b 89 1e |....B\nB|...\n...|
|00000f30| 0c ad 84 0e 0c cd a1 2c | 87 22 20 5b 61 73 73 6f |.......,|." [asso|
|00000f40| 63 20 6b 65 79 20 6c 69 | 62 2d 63 6f 6d 70 6c 65 |c key li|b-comple|
|00000f50| 74 65 3a 63 61 63 68 65 | 20 63 61 63 68 65 2d 65 |te:cache| cache-e|
|00000f60| 6e 74 72 79 20 63 61 63 | 68 65 2d 72 65 63 6f 72 |ntry cac|he-recor|
|00000f70| 64 73 20 72 6f 6f 74 20 | 6d 6f 64 74 69 6d 65 73 |ds root |modtimes|
|00000f80| 20 74 61 62 6c 65 20 6e | 65 77 2d 63 61 63 68 65 | table n|ew-cache|
|00000f90| 2d 72 65 63 6f 72 64 73 | 20 64 65 6c 71 20 6c 69 |-records| delq li|
|00000fa0| 62 2d 63 6f 6d 70 6c 65 | 74 65 3a 62 65 74 74 65 |b-comple|te:bette|
|00000fb0| 72 2d 72 6f 6f 74 20 6c | 69 62 2d 63 6f 6d 70 6c |r-root l|ib-compl|
|00000fc0| 65 74 65 3a 6d 61 78 2d | 63 61 63 68 65 2d 73 69 |ete:max-|cache-si|
|00000fd0| 7a 65 20 74 61 69 6c 20 | 6e 69 6c 5d 20 34 5d 29 |ze tail |nil] 4])|
|00000fe0| 0a 23 40 31 38 20 44 6f | 6e 27 74 20 63 61 6c 6c |.#@18 Do|n't call|
|00000ff0| 20 74 68 69 73 2e 1f 0a | 28 64 65 66 61 6c 69 61 | this...|(defalia|
|00001000| 73 20 27 72 65 61 64 2d | 6c 69 62 72 61 72 79 2d |s 'read-|library-|
|00001010| 69 6e 74 65 72 6e 61 6c | 20 23 5b 28 46 49 4c 45 |internal| #[(FILE|
|00001020| 20 46 49 4c 54 45 52 20 | 46 4c 41 47 29 20 22 c0 | FILTER |FLAG) ".|
|00001030| 09 5c 6e 0b 23 89 1c ac | 83 c5 aa a7 0e 06 c5 61 |.\n.#...|.......a|
|00001040| ab 87 c7 09 0c c5 23 aa | 9a 0e 06 c8 61 ab 87 c9 |......#.|....a...|
|00001050| 09 0c c5 23 aa 8d 0e 06 | ca 61 ad 87 cb 09 0c 5c |...#....|.a.....\|
|00001060| 22 ad 81 c8 29 87 22 20 | 5b 6c 69 62 2d 63 6f 6d |"...)." |[lib-com|
|00001070| 70 6c 65 74 65 3a 67 65 | 74 2d 63 6f 6d 70 6c 65 |plete:ge|t-comple|
|00001080| 74 69 6f 6e 2d 74 61 62 | 6c 65 20 46 49 4c 45 20 |tion-tab|le FILE |
|00001090| 72 65 61 64 2d 6c 69 62 | 72 61 72 79 2d 69 6e 74 |read-lib|rary-int|
|000010a0| 65 72 6e 61 6c 2d 73 65 | 61 72 63 68 2d 70 61 74 |ernal-se|arch-pat|
|000010b0| 68 20 46 49 4c 54 45 52 | 20 63 6f 6d 70 6c 65 74 |h FILTER| complet|
|000010c0| 69 6f 6e 2d 74 61 62 6c | 65 20 6e 69 6c 20 46 4c |ion-tabl|e nil FL|
|000010d0| 41 47 20 74 72 79 2d 63 | 6f 6d 70 6c 65 74 69 6f |AG try-c|ompletio|
|000010e0| 6e 20 74 20 61 6c 6c 2d | 63 6f 6d 70 6c 65 74 69 |n t all-|completi|
|000010f0| 6f 6e 73 20 6c 61 6d 62 | 64 61 20 69 6e 74 65 72 |ons lamb|da inter|
|00001100| 6e 2d 73 6f 66 74 5d 20 | 35 20 28 23 24 20 2e 20 |n-soft] |5 (#$ . |
|00001110| 34 30 37 30 29 5d 29 0a | 23 40 39 32 30 20 52 65 |4070)]).|#@920 Re|
|00001120| 61 64 20 6c 69 62 72 61 | 72 79 20 6e 61 6d 65 2c |ad libra|ry name,|
|00001130| 20 70 72 6f 6d 70 74 69 | 6e 67 20 77 69 74 68 20 | prompti|ng with |
|00001140| 50 52 4f 4d 50 54 20 61 | 6e 64 20 63 6f 6d 70 6c |PROMPT a|nd compl|
|00001150| 65 74 69 6e 67 20 69 6e | 20 64 69 72 65 63 74 6f |eting in| directo|
|00001160| 72 69 65 73 0a 66 72 6f | 6d 20 53 45 41 52 43 48 |ries.fro|m SEARCH|
|00001170| 2d 50 41 54 48 2e 20 20 | 41 20 6e 69 6c 20 69 6e |-PATH. |A nil in|
|00001180| 20 74 68 65 20 73 65 61 | 72 63 68 20 70 61 74 68 | the sea|rch path|
|00001190| 20 72 65 70 72 65 73 65 | 6e 74 73 20 74 68 65 20 | represe|nts the |
|000011a0| 63 75 72 72 65 6e 74 0a | 64 69 72 65 63 74 6f 72 |current.|director|
|000011b0| 79 2e 20 20 43 6f 6d 70 | 6c 65 74 69 6f 6e 73 20 |y. Comp|letions |
|000011c0| 66 6f 72 20 61 20 67 69 | 76 65 6e 20 73 65 61 72 |for a gi|ven sear|
|000011d0| 63 68 2d 70 61 74 68 20 | 61 72 65 20 63 61 63 68 |ch-path |are cach|
|000011e0| 65 64 2c 20 77 69 74 68 | 20 74 68 65 0a 63 61 63 |ed, with| the.cac|
|000011f0| 68 65 20 62 65 69 6e 67 | 20 69 6e 76 61 6c 69 64 |he being| invalid|
|00001200| 61 74 65 64 20 77 68 65 | 6e 65 76 65 72 20 6f 6e |ated whe|never on|
|00001210| 65 20 6f 66 20 74 68 65 | 20 64 69 72 65 63 74 6f |e of the| directo|
|00001220| 72 69 65 73 20 6f 6e 20 | 74 68 65 20 70 61 74 68 |ries on |the path|
|00001230| 20 63 68 61 6e 67 65 73 | 2e 0a 44 65 66 61 75 6c | changes|..Defaul|
|00001240| 74 20 74 6f 20 44 45 46 | 41 55 4c 54 20 69 66 20 |t to DEF|AULT if |
|00001250| 75 73 65 72 20 65 6e 74 | 65 72 73 20 61 20 6e 75 |user ent|ers a nu|
|00001260| 6c 6c 20 73 74 72 69 6e | 67 2e 0a 4f 70 74 69 6f |ll strin|g..Optio|
|00001270| 6e 61 6c 20 66 6f 75 72 | 74 68 20 61 72 67 20 4d |nal four|th arg M|
|00001280| 55 53 54 2d 4d 41 54 43 | 48 20 6e 6f 6e 2d 6e 69 |UST-MATC|H non-ni|
|00001290| 6c 20 6d 65 61 6e 73 20 | 72 65 71 75 69 72 65 20 |l means |require |
|000012a0| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 27 73 20 |existing| file's |
|000012b0| 6e 61 6d 65 2e 0a 20 20 | 4e 6f 6e 2d 6e 69 6c 20 |name.. |Non-nil |
|000012c0| 61 6e 64 20 6e 6f 6e 2d | 74 20 6d 65 61 6e 73 20 |and non-|t means |
|000012d0| 61 6c 73 6f 20 72 65 71 | 75 69 72 65 20 63 6f 6e |also req|uire con|
|000012e0| 66 69 72 6d 61 74 69 6f | 6e 20 61 66 74 65 72 20 |firmatio|n after |
|000012f0| 63 6f 6d 70 6c 65 74 69 | 6f 6e 2e 0a 4f 70 74 69 |completi|on..Opti|
|00001300| 6f 6e 61 6c 20 66 69 66 | 74 68 20 61 72 67 75 6d |onal fif|th argum|
|00001310| 65 6e 74 20 46 55 4c 4c | 20 6e 6f 6e 2d 6e 69 6c |ent FULL| non-nil|
|00001320| 20 63 61 75 73 65 73 20 | 61 20 66 75 6c 6c 20 70 | causes |a full p|
|00001330| 61 74 68 6e 61 6d 65 2c | 20 72 61 74 68 65 72 20 |athname,| rather |
|00001340| 74 68 61 6e 20 61 20 0a | 20 20 72 65 6c 61 74 69 |than a .| relati|
|00001350| 76 65 20 70 61 74 68 6e | 61 6d 65 2c 20 74 6f 20 |ve pathn|ame, to |
|00001360| 62 65 20 72 65 74 75 72 | 6e 65 64 2e 20 20 4e 6f |be retur|ned. No|
|00001370| 74 65 20 74 68 61 74 20 | 46 55 4c 4c 20 69 6d 70 |te that |FULL imp|
|00001380| 6c 69 65 73 20 4d 55 53 | 54 2d 4d 41 54 43 48 2e |lies MUS|T-MATCH.|
|00001390| 0a 4f 70 74 69 6f 6e 61 | 6c 20 73 69 78 74 68 20 |.Optiona|l sixth |
|000013a0| 61 72 67 75 6d 65 6e 74 | 20 46 49 4c 54 45 52 20 |argument| FILTER |
|000013b0| 63 61 6e 20 62 65 20 75 | 73 65 64 20 74 6f 20 70 |can be u|sed to p|
|000013c0| 72 6f 76 69 64 65 20 61 | 20 66 75 6e 63 74 69 6f |rovide a| functio|
|000013d0| 6e 20 74 6f 0a 20 20 66 | 69 6c 74 65 72 20 74 68 |n to. f|ilter th|
|000013e0| 65 20 63 6f 6d 70 6c 65 | 74 69 6f 6e 73 2e 20 20 |e comple|tions. |
|000013f0| 54 68 69 73 20 66 75 6e | 63 74 69 6f 6e 20 69 73 |This fun|ction is|
|00001400| 20 70 61 73 73 65 64 20 | 74 68 65 20 66 69 6c 65 | passed |the file|
|00001410| 6e 61 6d 65 2c 20 61 6e | 64 20 73 68 6f 75 6c 64 |name, an|d should|
|00001420| 0a 20 20 72 65 74 75 72 | 6e 20 61 20 74 72 61 6e |. retur|n a tran|
|00001430| 73 66 6f 72 6d 65 64 20 | 66 69 6c 65 6e 61 6d 65 |sformed |filename|
|00001440| 20 28 70 6f 73 73 69 62 | 6c 79 20 61 20 6e 75 6c | (possib|ly a nul|
|00001450| 6c 20 74 72 61 6e 73 66 | 6f 72 6d 61 74 69 6f 6e |l transf|ormation|
|00001460| 29 20 6f 72 20 6e 69 6c | 2c 20 0a 20 20 69 6e 64 |) or nil|, . ind|
|00001470| 69 63 61 74 69 6e 67 20 | 74 68 61 74 20 74 68 65 |icating |that the|
|00001480| 20 66 69 6c 65 6e 61 6d | 65 20 73 68 6f 75 6c 64 | filenam|e should|
|00001490| 20 6e 6f 74 20 62 65 20 | 69 6e 63 6c 75 64 65 64 | not be |included|
|000014a0| 20 69 6e 20 74 68 65 20 | 63 6f 6d 70 6c 65 74 69 | in the |completi|
|000014b0| 6f 6e 73 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |ons...(d|efalias |
|000014c0| 27 72 65 61 64 2d 6c 69 | 62 72 61 72 79 20 23 5b |'read-li|brary #[|
|000014d0| 28 50 52 4f 4d 50 54 20 | 53 45 41 52 43 48 2d 50 |(PROMPT |SEARCH-P|
|000014e0| 41 54 48 20 26 6f 70 74 | 69 6f 6e 61 6c 20 44 45 |ATH &opt|ional DE|
|000014f0| 46 41 55 4c 54 20 4d 55 | 53 54 2d 4d 41 54 43 48 |FAULT MU|ST-MATCH|
|00001500| 20 46 55 4c 4c 20 46 49 | 4c 54 45 52 29 20 22 08 | FULL FI|LTER) ".|
|00001510| 19 c2 0b c4 0d 0e 06 ae | 82 0e 07 c8 25 89 1e 09 |........|....%...|
|00001520| ca 6b ab 84 0e 0b aa 96 | 0e 07 ab 90 cc 0e 09 09 |.k......|........|
|00001530| cd ce 21 ab 83 cf aa 81 | d0 23 aa 82 0e 09 2a 87 |..!.....|.#....*.|
|00001540| 22 20 5b 53 45 41 52 43 | 48 2d 50 41 54 48 20 72 |" [SEARC|H-PATH r|
|00001550| 65 61 64 2d 6c 69 62 72 | 61 72 79 2d 69 6e 74 65 |ead-libr|ary-inte|
|00001560| 72 6e 61 6c 2d 73 65 61 | 72 63 68 2d 70 61 74 68 |rnal-sea|rch-path|
|00001570| 20 63 6f 6d 70 6c 65 74 | 69 6e 67 2d 72 65 61 64 | complet|ing-read|
|00001580| 20 50 52 4f 4d 50 54 20 | 72 65 61 64 2d 6c 69 62 | PROMPT |read-lib|
|00001590| 72 61 72 79 2d 69 6e 74 | 65 72 6e 61 6c 20 46 49 |rary-int|ernal FI|
|000015a0| 4c 54 45 52 20 4d 55 53 | 54 2d 4d 41 54 43 48 20 |LTER MUS|T-MATCH |
|000015b0| 46 55 4c 4c 20 6e 69 6c | 20 6c 69 62 72 61 72 79 |FULL nil| library|
|000015c0| 20 22 22 20 44 45 46 41 | 55 4c 54 20 6c 6f 63 61 | "" DEFA|ULT loca|
|000015d0| 74 65 2d 66 69 6c 65 20 | 66 65 61 74 75 72 65 70 |te-file |featurep|
|000015e0| 20 6d 75 6c 65 20 22 2e | 65 6c 3a 2e 65 6c 63 22 | mule ".|el:.elc"|
|000015f0| 20 22 2e 65 6c 3a 2e 65 | 6c 2e 67 7a 3a 2e 65 6c | ".el:.e|l.gz:.el|
|00001600| 63 22 5d 20 37 20 28 23 | 24 20 2e 20 34 33 38 32 |c"] 7 (#|$ . 4382|
|00001610| 29 5d 29 0a 23 40 32 37 | 20 46 72 6f 6e 74 20 65 |)]).#@27| Front e|
|00001620| 6e 64 20 74 6f 20 72 65 | 61 64 2d 6c 69 62 72 61 |nd to re|ad-libra|
|00001630| 72 79 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 67 |ry..(def|alias 'g|
|00001640| 65 74 2d 6c 69 62 72 61 | 72 79 2d 70 61 74 68 20 |et-libra|ry-path |
|00001650| 23 5b 6e 69 6c 20 22 c0 | c1 5c 6e c3 c4 89 c5 26 |#[nil ".|.\n....&|
|00001660| 06 87 22 20 5b 72 65 61 | 64 2d 6c 69 62 72 61 72 |.." [rea|d-librar|
|00001670| 79 20 22 46 69 6e 64 20 | 4c 69 62 72 61 72 79 20 |y "Find |Library |
|00001680| 66 69 6c 65 3a 20 22 20 | 6c 6f 61 64 2d 70 61 74 |file: " |load-pat|
|00001690| 68 20 6e 69 6c 20 74 20 | 23 5b 28 66 6e 29 20 22 |h nil t |#[(fn) "|
|000016a0| c0 c1 c2 21 ab 83 c3 aa | 81 c4 0d 5c 22 ad 85 0d |...!....|...\"...|
|000016b0| c6 89 94 4f 87 22 20 5b | 73 74 72 69 6e 67 2d 6d |...O." [|string-m|
|000016c0| 61 74 63 68 20 66 65 61 | 74 75 72 65 70 20 6d 75 |atch fea|turep mu|
|000016d0| 6c 65 20 22 5c 5c 2e 65 | 6c 24 22 20 22 5c 5c 2e |le "\\.e|l$" "\\.|
|000016e0| 65 6c 5c 5c 28 5c 5c 2e | 67 7a 5c 5c 29 3f 24 22 |el\\(\\.|gz\\)?$"|
|000016f0| 20 66 6e 20 30 5d 20 33 | 5d 5d 20 37 20 28 23 24 | fn 0] 3|]] 7 (#$|
|00001700| 20 2e 20 35 36 35 37 29 | 5d 29 0a 23 40 37 38 20 | . 5657)|]).#@78 |
|00001710| 4c 6f 61 64 20 74 68 65 | 20 6c 69 62 72 61 72 79 |Load the| library|
|00001720| 20 6e 61 6d 65 64 20 4c | 49 42 52 41 52 59 2e 0a | named L|IBRARY..|
|00001730| 54 68 69 73 20 69 73 20 | 61 6e 20 69 6e 74 65 72 |This is |an inter|
|00001740| 66 61 63 65 20 74 6f 20 | 74 68 65 20 66 75 6e 63 |face to |the func|
|00001750| 74 69 6f 6e 20 60 6c 6f | 61 64 27 2e 1f 0a 28 64 |tion `lo|ad'...(d|
|00001760| 65 66 61 6c 69 61 73 20 | 27 6c 6f 61 64 2d 6c 69 |efalias |'load-li|
|00001770| 62 72 61 72 79 20 23 5b | 28 6c 69 62 72 61 72 79 |brary #[|(library|
|00001780| 29 20 22 c0 09 21 87 22 | 20 5b 6c 6f 61 64 20 6c |) "..!."| [load l|
|00001790| 69 62 72 61 72 79 5d 20 | 32 20 28 23 24 20 2e 20 |ibrary] |2 (#$ . |
|000017a0| 35 39 30 34 29 20 28 6c | 69 73 74 20 28 72 65 61 |5904) (l|ist (rea|
|000017b0| 64 2d 6c 69 62 72 61 72 | 79 20 22 4c 6f 61 64 20 |d-librar|y "Load |
|000017c0| 4c 69 62 72 61 72 79 3a | 20 22 20 6c 6f 61 64 2d |Library:| " load-|
|000017d0| 70 61 74 68 20 6e 69 6c | 20 6e 69 6c 20 6e 69 6c |path nil| nil nil|
|000017e0| 20 28 66 75 6e 63 74 69 | 6f 6e 20 28 6c 61 6d 62 | (functi|on (lamb|
|000017f0| 64 61 20 28 66 6e 29 20 | 28 63 6f 6e 64 20 28 28 |da (fn) |(cond ((|
|00001800| 73 74 72 69 6e 67 2d 6d | 61 74 63 68 20 22 5c 5c |string-m|atch "\\|
|00001810| 2e 65 6c 63 3f 24 22 20 | 66 6e 29 20 28 73 75 62 |.elc?$" |fn) (sub|
|00001820| 73 74 72 69 6e 67 20 66 | 6e 20 30 20 28 6d 61 74 |string f|n 0 (mat|
|00001830| 63 68 2d 62 65 67 69 6e | 6e 69 6e 67 20 30 29 29 |ch-begin|ning 0))|
|00001840| 29 29 29 29 29 29 5d 29 | 0a 23 40 32 39 34 20 46 |))))))])|.#@294 F|
|00001850| 69 6e 64 20 61 6e 64 20 | 65 64 69 74 20 74 68 65 |ind and |edit the|
|00001860| 20 73 6f 75 72 63 65 20 | 66 6f 72 20 74 68 65 20 | source |for the |
|00001870| 6c 69 62 72 61 72 79 20 | 6e 61 6d 65 64 20 4c 49 |library |named LI|
|00001880| 42 52 41 52 59 2e 0a 54 | 68 65 20 65 78 74 65 6e |BRARY..T|he exten|
|00001890| 73 69 6f 6e 20 6f 66 20 | 74 68 65 20 4c 49 42 52 |sion of |the LIBR|
|000018a0| 41 52 59 20 6d 75 73 74 | 20 62 65 20 6f 6d 69 74 |ARY must| be omit|
|000018b0| 74 65 64 2e 0a 55 6e 64 | 65 72 20 58 45 6d 61 63 |ted..Und|er XEmac|
|000018c0| 73 2f 4d 75 6c 65 2c 20 | 74 68 65 20 6f 70 74 69 |s/Mule, |the opti|
|000018d0| 6f 6e 61 6c 20 73 65 63 | 6f 6e 64 20 61 72 67 75 |onal sec|ond argu|
|000018e0| 6d 65 6e 74 20 73 70 65 | 63 69 66 69 65 73 20 74 |ment spe|cifies t|
|000018f0| 68 65 0a 63 6f 64 69 6e | 67 20 73 79 73 74 65 6d |he.codin|g system|
|00001900| 20 74 6f 20 75 73 65 20 | 77 68 65 6e 20 64 65 63 | to use |when dec|
|00001910| 6f 64 69 6e 67 20 74 68 | 65 20 66 69 6c 65 2e 20 |oding th|e file. |
|00001920| 20 49 6e 74 65 72 61 63 | 74 69 76 65 6c 79 2c 0a | Interac|tively,.|
|00001930| 77 69 74 68 20 61 20 70 | 72 65 66 69 78 20 61 72 |with a p|refix ar|
|00001940| 67 75 6d 65 6e 74 2c 20 | 79 6f 75 20 77 69 6c 6c |gument, |you will|
|00001950| 20 62 65 20 70 72 6f 6d | 70 74 65 64 20 66 6f 72 | be prom|pted for|
|00001960| 20 74 68 65 20 63 6f 64 | 69 6e 67 20 73 79 73 74 | the cod|ing syst|
|00001970| 65 6d 2e 1f 0a 28 64 65 | 66 61 6c 69 61 73 20 27 |em...(de|falias '|
|00001980| 66 69 6e 64 2d 6c 69 62 | 72 61 72 79 20 23 5b 28 |find-lib|rary #[(|
|00001990| 6c 69 62 72 61 72 79 20 | 26 6f 70 74 69 6f 6e 61 |library |&optiona|
|000019a0| 6c 20 63 6f 64 65 73 79 | 73 29 20 22 c0 09 5c 6e |l codesy|s) "..\n|
|000019b0| 5c 22 87 22 20 5b 66 69 | 6e 64 2d 66 69 6c 65 20 |\"." [fi|nd-file |
|000019c0| 6c 69 62 72 61 72 79 20 | 63 6f 64 65 73 79 73 5d |library |codesys]|
|000019d0| 20 33 20 28 23 24 20 2e | 20 36 32 32 33 29 20 28 | 3 (#$ .| 6223) (|
|000019e0| 6c 69 73 74 20 28 67 65 | 74 2d 6c 69 62 72 61 72 |list (ge|t-librar|
|000019f0| 79 2d 70 61 74 68 29 20 | 28 69 66 20 63 75 72 72 |y-path) |(if curr|
|00001a00| 65 6e 74 2d 70 72 65 66 | 69 78 2d 61 72 67 20 28 |ent-pref|ix-arg (|
|00001a10| 72 65 61 64 2d 63 6f 64 | 69 6e 67 2d 73 79 73 74 |read-cod|ing-syst|
|00001a20| 65 6d 20 22 43 6f 64 69 | 6e 67 20 53 79 73 74 65 |em "Codi|ng Syste|
|00001a30| 6d 3a 20 22 29 29 29 5d | 29 0a 23 40 32 34 32 20 |m: ")))]|).#@242 |
|00001a40| 4c 6f 61 64 20 74 68 65 | 20 6c 69 62 72 61 72 79 |Load the| library|
|00001a50| 20 6e 61 6d 65 64 20 4c | 49 42 52 41 52 59 20 69 | named L|IBRARY i|
|00001a60| 6e 20 61 6e 6f 74 68 65 | 72 20 77 69 6e 64 6f 77 |n anothe|r window|
|00001a70| 2e 0a 55 6e 64 65 72 20 | 58 45 6d 61 63 73 2f 4d |..Under |XEmacs/M|
|00001a80| 75 6c 65 2c 20 74 68 65 | 20 6f 70 74 69 6f 6e 61 |ule, the| optiona|
|00001a90| 6c 20 73 65 63 6f 6e 64 | 20 61 72 67 75 6d 65 6e |l second| argumen|
|00001aa0| 74 20 73 70 65 63 69 66 | 69 65 73 20 74 68 65 0a |t specif|ies the.|
|00001ab0| 63 6f 64 69 6e 67 20 73 | 79 73 74 65 6d 20 74 6f |coding s|ystem to|
|00001ac0| 20 75 73 65 20 77 68 65 | 6e 20 64 65 63 6f 64 69 | use whe|n decodi|
|00001ad0| 6e 67 20 74 68 65 20 66 | 69 6c 65 2e 20 20 49 6e |ng the f|ile. In|
|00001ae0| 74 65 72 61 63 74 69 76 | 65 6c 79 2c 0a 77 69 74 |teractiv|ely,.wit|
|00001af0| 68 20 61 20 70 72 65 66 | 69 78 20 61 72 67 75 6d |h a pref|ix argum|
|00001b00| 65 6e 74 2c 20 79 6f 75 | 20 77 69 6c 6c 20 62 65 |ent, you| will be|
|00001b10| 20 70 72 6f 6d 70 74 65 | 64 20 66 6f 72 20 74 68 | prompte|d for th|
|00001b20| 65 20 63 6f 64 69 6e 67 | 20 73 79 73 74 65 6d 2e |e coding| system.|
|00001b30| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 66 69 6e |..(defal|ias 'fin|
|00001b40| 64 2d 6c 69 62 72 61 72 | 79 2d 6f 74 68 65 72 2d |d-librar|y-other-|
|00001b50| 77 69 6e 64 6f 77 20 23 | 5b 28 6c 69 62 72 61 72 |window #|[(librar|
|00001b60| 79 20 26 6f 70 74 69 6f | 6e 61 6c 20 63 6f 64 65 |y &optio|nal code|
|00001b70| 73 79 73 29 20 22 c0 09 | 5c 6e 5c 22 87 22 20 5b |sys) "..|\n\"." [|
|00001b80| 66 69 6e 64 2d 66 69 6c | 65 2d 6f 74 68 65 72 2d |find-fil|e-other-|
|00001b90| 77 69 6e 64 6f 77 20 6c | 69 62 72 61 72 79 20 63 |window l|ibrary c|
|00001ba0| 6f 64 65 73 79 73 5d 20 | 33 20 28 23 24 20 2e 20 |odesys] |3 (#$ . |
|00001bb0| 36 37 32 30 29 20 28 6c | 69 73 74 20 28 67 65 74 |6720) (l|ist (get|
|00001bc0| 2d 6c 69 62 72 61 72 79 | 2d 70 61 74 68 29 20 28 |-library|-path) (|
|00001bd0| 69 66 20 63 75 72 72 65 | 6e 74 2d 70 72 65 66 69 |if curre|nt-prefi|
|00001be0| 78 2d 61 72 67 20 28 72 | 65 61 64 2d 63 6f 64 69 |x-arg (r|ead-codi|
|00001bf0| 6e 67 2d 73 79 73 74 65 | 6d 20 22 43 6f 64 69 6e |ng-syste|m "Codin|
|00001c00| 67 20 53 79 73 74 65 6d | 3a 20 22 29 29 29 5d 29 |g System|: ")))])|
|00001c10| 0a 23 40 32 34 39 20 4c | 6f 61 64 20 74 68 65 20 |.#@249 L|oad the |
|00001c20| 6c 69 62 72 61 72 79 20 | 6e 61 6d 65 64 20 4c 49 |library |named LI|
|00001c30| 42 52 41 52 59 20 69 6e | 20 61 20 6e 65 77 6c 79 |BRARY in| a newly|
|00001c40| 2d 63 72 65 61 74 65 64 | 20 66 72 61 6d 65 2e 0a |-created| frame..|
|00001c50| 55 6e 64 65 72 20 58 45 | 6d 61 63 73 2f 4d 75 6c |Under XE|macs/Mul|
|00001c60| 65 2c 20 74 68 65 20 6f | 70 74 69 6f 6e 61 6c 20 |e, the o|ptional |
|00001c70| 73 65 63 6f 6e 64 20 61 | 72 67 75 6d 65 6e 74 20 |second a|rgument |
|00001c80| 73 70 65 63 69 66 69 65 | 73 20 74 68 65 0a 63 6f |specifie|s the.co|
|00001c90| 64 69 6e 67 20 73 79 73 | 74 65 6d 20 74 6f 20 75 |ding sys|tem to u|
|00001ca0| 73 65 20 77 68 65 6e 20 | 64 65 63 6f 64 69 6e 67 |se when |decoding|
|00001cb0| 20 74 68 65 20 66 69 6c | 65 2e 20 20 49 6e 74 65 | the fil|e. Inte|
|00001cc0| 72 61 63 74 69 76 65 6c | 79 2c 0a 77 69 74 68 20 |ractivel|y,.with |
|00001cd0| 61 20 70 72 65 66 69 78 | 20 61 72 67 75 6d 65 6e |a prefix| argumen|
|00001ce0| 74 2c 20 79 6f 75 20 77 | 69 6c 6c 20 62 65 20 70 |t, you w|ill be p|
|00001cf0| 72 6f 6d 70 74 65 64 20 | 66 6f 72 20 74 68 65 20 |rompted |for the |
|00001d00| 63 6f 64 69 6e 67 20 73 | 79 73 74 65 6d 2e 1f 0a |coding s|ystem...|
|00001d10| 28 64 65 66 61 6c 69 61 | 73 20 27 66 69 6e 64 2d |(defalia|s 'find-|
|00001d20| 6c 69 62 72 61 72 79 2d | 6f 74 68 65 72 2d 66 72 |library-|other-fr|
|00001d30| 61 6d 65 20 23 5b 28 6c | 69 62 72 61 72 79 20 26 |ame #[(l|ibrary &|
|00001d40| 6f 70 74 69 6f 6e 61 6c | 20 63 6f 64 65 73 79 73 |optional| codesys|
|00001d50| 29 20 22 c0 09 5c 6e 5c | 22 87 22 20 5b 66 69 6e |) "..\n\|"." [fin|
|00001d60| 64 2d 66 69 6c 65 2d 6f | 74 68 65 72 2d 66 72 61 |d-file-o|ther-fra|
|00001d70| 6d 65 20 6c 69 62 72 61 | 72 79 20 63 6f 64 65 73 |me libra|ry codes|
|00001d80| 79 73 5d 20 33 20 28 23 | 24 20 2e 20 37 31 39 31 |ys] 3 (#|$ . 7191|
|00001d90| 29 20 28 6c 69 73 74 20 | 28 67 65 74 2d 6c 69 62 |) (list |(get-lib|
|00001da0| 72 61 72 79 2d 70 61 74 | 68 29 20 28 69 66 20 63 |rary-pat|h) (if c|
|00001db0| 75 72 72 65 6e 74 2d 70 | 72 65 66 69 78 2d 61 72 |urrent-p|refix-ar|
|00001dc0| 67 20 28 72 65 61 64 2d | 63 6f 64 69 6e 67 2d 73 |g (read-|coding-s|
|00001dd0| 79 73 74 65 6d 20 22 43 | 6f 64 69 6e 67 20 53 79 |ystem "C|oding Sy|
|00001de0| 73 74 65 6d 3a 20 22 29 | 29 29 5d 29 0a 28 62 79 |stem: ")|))]).(by|
|00001df0| 74 65 2d 63 6f 64 65 20 | 22 c0 09 c2 c3 23 88 c0 |te-code |"....#..|
|00001e00| 09 c4 c5 23 88 c6 c7 21 | 87 22 20 5b 64 65 66 69 |...#...!|." [defi|
|00001e10| 6e 65 2d 6b 65 79 20 67 | 6c 6f 62 61 6c 2d 6d 61 |ne-key g|lobal-ma|
|00001e20| 70 20 22 18 34 6c 22 20 | 66 69 6e 64 2d 6c 69 62 |p ".4l" |find-lib|
|00001e30| 72 61 72 79 2d 6f 74 68 | 65 72 2d 77 69 6e 64 6f |rary-oth|er-windo|
|00001e40| 77 20 22 18 35 6c 22 20 | 66 69 6e 64 2d 6c 69 62 |w ".5l" |find-lib|
|00001e50| 72 61 72 79 2d 6f 74 68 | 65 72 2d 66 72 61 6d 65 |rary-oth|er-frame|
|00001e60| 20 70 72 6f 76 69 64 65 | 20 6c 69 62 2d 63 6f 6d | provide| lib-com|
|00001e70| 70 6c 65 74 65 5d 20 34 | 29 0a |plete] 4|). |
+--------+-------------------------+-------------------------+--------+--------+